mmc_block: Increase max_devices
authorBen Hutchings <ben@decadent.org.uk>
Sun, 26 Oct 2014 02:09:23 +0000 (02:09 +0000)
committermaximilian attems <maks@debian.org>
Sat, 31 Jan 2015 21:20:40 +0000 (21:20 +0000)
commiteea74eda3380392ceebf1f8e827494f9ffec8c3f
treeb230d77923593b205b62ecd9561fcaeba99500af
parent63fc60a4d6e7e6fa7ce8269636eb4121c3b46b98
mmc_block: Increase max_devices

Currently the driver imposes a limit of 256 total minor numbers,
apparently based on the historic Unix/Linux limit.  This is quite
restrictive, particularly if we raise the maximum number of
partitions per card to 256 to match sd.

In order to make the full minor number space available we would
have to replace the static dev_use and name_use arrays with struct
ida.  But we can at least allow use of 256 cards rather than just
256 minors, with only a small change.

Gbp-Pq: Topic features/all
Gbp-Pq: Name mmc_block-increase-max_devices.patch
drivers/mmc/card/block.c